﻿using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;

namespace GmailAuto
{
    public abstract class BasePage
    {
        internal IWebDriver Driver{get { return Browser.Driver(); }}

        protected BasePage()
        {
            PageFactory.InitElements(Driver, this);
        }
    }
}